<extend name="base"/>

<block name="extend">
<script language="javascript">
     $(document).ready(wechat_obj.set_token_init);
</script>
</block>

<block name="body">
	<div id="token" class="r_con_wrap">
		<form id="set_token_form" class="r_con_form">
            <div class="set_token_msg"></div>
           	<div class="rows">
                   <label>接口URL</label>
                   <span class="input"><span class="tips">{$api_url}</span></span>
                   <div class="clear"></div>
               </div>
               <div class="rows">
                   <label>接口Token</label>
                   <span class="input"><span class="tips">{$userinfo.token}</span></span>
                   <div class="clear"></div>
               </div>
               <div class="rows">
                   <label>操作步骤</label>
                   <span class="input">
                       1、点击【高级功能】，进入【开发模式】<br />
                       <img src="__PUBLIC__/Member/images/wechat/set_token_1.jpg" /><br />
                       2、开启【开发模式】，点击进入【服务器配置】<br />
                       <img src="__PUBLIC__/Member/images/wechat/set_token_2.jpg" /><br />
                       3、把【接口URL】和【接口Token】填入如图表单中<br />
                       <img src="__PUBLIC__/Member/images/wechat/set_token_3.jpg" /><br />
                       4、提交确认无误后，点击本页面【我已完成对接】按钮
                   </span>
                   <div class="clear"></div>
               </div>
               <div class="rows">
                   <label></label>
                   <span class="input"><input type="submit" class="btn_green"  name="submit_button" value="我已完成对接" /><a href="{:U('setWeixin')}" class="btn_gray">上一步</a></span>
                   <div class="clear"></div>
               </div>
               <input type="hidden" name="do_action" value="{:U('setWeixin2')}">
     	</form>
    </div> 
</block>